﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TanmiaGrp.GeneralLedger.WinApp
{
    public class BrowserStateChangedEventArgs : EventArgs
    {
        public bool IsAtFirst { get; set; }
        public bool IsAtLast { get; set; }
        public object CurrentEntity { get; set; }

        public T GetCurrentEntity<T>()
        {
            return (T)CurrentEntity;
        }
    }
}
